﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MyAdmin/QuanLy.master" AutoEventWireup="true" CodeFile="LogAction.aspx.cs" Inherits="MyAdmin_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="ID" DataSourceID="LinqDataSource1" 
        onselectedindexchanged="GridView1_SelectedIndexChanged" AllowPaging="True" 
        BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" 
        CellPadding="3" GridLines="Vertical">
        <AlternatingRowStyle BackColor="#DCDCDC" />
        <Columns>

            <asp:BoundField DataField="Ngay" HeaderText="Ngày sửa" SortExpression="Ngay" />
            <asp:BoundField DataField="TenDangNhap" HeaderText="Tên đăng nhập" 
                SortExpression="TenDangNhap" >
            <HeaderStyle Width="50px" />
            </asp:BoundField>
            <asp:BoundField DataField="TenLoaiDangNhap" HeaderText="Loại đăng nhập" 
                SortExpression="TenLoaiDangNhap" />
            <asp:BoundField DataField="TenBang" HeaderText="Tên bảng bị sửa" 
                SortExpression="TenBang" >
            <HeaderStyle Width="120px" />
            </asp:BoundField>
            <asp:BoundField DataField="DuLieuCu" HeaderText="Dữ liệu cũ" 
                SortExpression="DuLieuCu" />
            <asp:BoundField DataField="DuLieuMoi" HeaderText="Dữ liệu mới" 
                SortExpression="DuLieuMoi" />
            <asp:BoundField DataField="TenLoaiCapNhat" HeaderText="Loại cập nhật" 
                SortExpression="TenLoaiCapNhat" />
        </Columns>
        <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
        <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
        <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
        <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#0000A9" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#000065" />
    </asp:GridView>
    <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
        ContextTypeName="DataAccess_Layer.DataClasses_RetailerDataContext" 
        EntityTypeName="" TableName="LogActions">
    </asp:LinqDataSource>
</asp:Content>

